package com.ifnk.portaljava.dapWeb.pojo;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3179353396540847414L;
	private int id;
	private Location location;
	private String loginName;
	private String fullName;
	private String password;
	private String userIp;
	private boolean isModifyPassword;
	private Set<Role> roleSet = new HashSet<Role>();
	private Set<UserAllowedIp> userAllowedIpSet = new HashSet<UserAllowedIp>();
	private Configuration configuration;
	private Set<Log> logSet = new HashSet<Log>();

	public User() {

	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean getIsModifyPassword() {
		return isModifyPassword;
	}

	public void setIsModifyPassword(boolean isModifyPassword) {
		this.isModifyPassword = isModifyPassword;
	}

	public Set<Role> getRoleSet() {
		return roleSet;
	}

	public void setRoleSet(Set<Role> roleSet) {
		this.roleSet = roleSet;
	}

	public Set<UserAllowedIp> getUserAllowedIpSet() {
		return userAllowedIpSet;
	}

	public void setUserAllowedIpSet(Set<UserAllowedIp> userAllowedIpSet) {
		this.userAllowedIpSet = userAllowedIpSet;
	}

	public Configuration getConfiguration() {
		return configuration;
	}

	public void setConfiguration(Configuration configuration) {
		this.configuration = configuration;
	}

	public Set<Log> getLogSet() {
		return logSet;
	}

	public void setLogSet(Set<Log> logSet) {
		this.logSet = logSet;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	public void setModifyPassword(boolean isModifyPassword) {
		this.isModifyPassword = isModifyPassword;
	}

}
